package com.example.demo.repository;

import com.example.demo.entity.UploadedFile;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;

public interface UploadedFileRepository extends JpaRepository<UploadedFile, Long> {
    List<UploadedFile> findByUploaderUsername(String username);
    List<UploadedFile> findAllByOrderByUploadTimeDesc();
}